AuthorizationCodeFlow

soidc.core.AuthorizationCodeFlow
See theAuthorizationCodeFlow companion object
trait AuthorizationCodeFlow[F[_], H, C] extends Realm[F, H, C]

Attributes

Companion
object
Graph
Supertypes
trait Realm[F, H, C]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def authorizeUrl(redirectUri: Uri): F[Uri]

Creates the authorization uri for redirecting the user agent to the auth provider.

Creates the authorization uri for redirecting the user agent to the auth provider.

Attributes

def logoutUrl(req: LogoutRequest): F[Option[Uri]]

Creates the logout uri for redirecting the user-agent to logout the user. This might not be supported by the OP.

Creates the logout uri for redirecting the user-agent to logout the user. This might not be supported by the OP.

Attributes

def obtainToken(redirectUri: Uri, reqParams: Map[String, String]): F[Either[Failure, Success]]

Get the access token with the query parameters from the redirect request.

Get the access token with the query parameters from the redirect request.

Attributes

def runRefreshRequest(refreshToken: JWS): F[TokenResponse]

Get a new access token using the given refresh token.

Get a new access token using the given refresh token.

Attributes

def tokenStore: TokenStore[F, H, C]

The token store used for jwtRefresh.

The token store used for jwtRefresh.

Attributes

Inherited methods

def or(next: Realm[F, H, C])(using Monad[F]): Realm[F, H, C]

Combine this and next realm by combining their validator and jwtRefresh instances.

Combine this and next realm by combining their validator and jwtRefresh instances.

Attributes

Inherited from:
Realm

Inherited and Abstract methods

def isIssuer(jws: JWSDecoded[H, C])(using StandardClaims[C]): Boolean

Check whether the given JWT was issued by this provider.

Check whether the given JWT was issued by this provider.

Attributes

Inherited from:
Realm
def jwtRefresh: JwtRefresh[F, H, C]

Return a refresher to obtain new access tokens.

Return a refresher to obtain new access tokens.

Attributes

Inherited from:
Realm
def validator: JwtValidator[F, H, C]

Return a validator that can verify tokens from this provider.

Return a validator that can verify tokens from this provider.

Attributes

Inherited from:
Realm