AuthenticationEndpointGroup
public class AuthenticationEndpointGroup : EndpointGroup
This EndpointGroup authentication using an username and a password
The user can authenticate using username and password which will return an OAuth Token. If OAuth Token or Private Token is already known, it can be used when initiating RxGitLabAPI.
-
Authenticate using
usernameandpasswordGet an Authentication object using
usernameandpassword- username: username
- password: password
Declaration
Swift
public func authenticate(username: String, password: String) -> Observable<Authentication>Return Value
An
ObservableofAuthentication
AuthenticationEndpointGroup Class Reference