Package org.kohsuke.github.authorization
Interface UserAuthorizationProvider
-
- All Superinterfaces:
AuthorizationProvider
public interface UserAuthorizationProvider extends AuthorizationProvider
Interface for all user-related authorization providers.AuthorizationProvider
s can apply to a number of different account types. This interface applies to providers for user accounts, ones that have a login or should query the "/user" endpoint for the login matching this credential.
-
-
Field Summary
-
Fields inherited from interface org.kohsuke.github.authorization.AuthorizationProvider
ANONYMOUS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLogin()
Gets the user login name.-
Methods inherited from interface org.kohsuke.github.authorization.AuthorizationProvider
getEncodedAuthorization
-
-
-
-
Method Detail
-
getLogin
@CheckForNull String getLogin()
Gets the user login name.- Returns:
- the user login for this provider, or
null
if the login value should be queried from the "/user" endpoint.
-
-