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
username
andpassword
Get an Authentication object using
username
andpassword
- username: username
- password: password
Declaration
Swift
public func authenticate(username: String, password: String) -> Observable<Authentication>
Return Value
An
Observable
ofAuthentication