Skip to main content

OAuth2

Home > @backstage/core-app-api > OAuth2

Implements a generic OAuth2 flow for auth.

Signature:

export default class OAuth2 implements OAuthApi, OpenIdConnectApi, ProfileInfoApi, BackstageIdentityApi, SessionApi 

Implements: OAuthApi, OpenIdConnectApi, ProfileInfoApi, BackstageIdentityApi, SessionApi

Methods

Method

Modifiers

Description

create(options)

static

getAccessToken(scope, options)

getBackstageIdentity(options)

getIdToken(options)

getProfile(options)

sessionState$()

signIn()

signOut()