Package de.msi.oauth.flow.params
Interface RequestToken
- All Superinterfaces:
OAuthParam,Supplier<String>,Token
- All Known Implementing Classes:
RequestToken.DefaultRequestToken
- 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 RequestToken extends Token
Represents a
request token.
use of(String) to create a new instance.
- Author:
- Martin Siegemund
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRequestToken.DefaultRequestTokenThe default implementation ofRequestToken. -
Method Summary
Static Methods Modifier and Type Method Description static RequestTokenof(String value)Create a newRequestToken.
-
Method Details
-
of
Create a newRequestToken.- Parameters:
value- the raw value- Returns:
- a new
RequestToken
-