Package de.msi.oauth.flow.params
Interface AccessToken
- All Superinterfaces:
OAuthParam,Supplier<String>,Token
- All Known Implementing Classes:
AccessToken.DefaultAccessToken
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AccessToken extends Token
Represents an
access token.
Use of(String) to create a new instance.
- Author:
- Martin Siegemund
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAccessToken.DefaultAccessTokenThe default implementation ofAccessToken. -
Method Summary
Static Methods Modifier and Type Method Description static AccessTokenof(String value)Create a new instance.
-
Method Details
-
of
Create a new instance.- Parameters:
value- the raw value- Returns:
- a new
AccessToken
-