Backstage
Docs
Github
Preparing search index...
@backstage/plugin-auth-node
PassportOAuthAuthenticatorHelper
Class PassportOAuthAuthenticatorHelper
Index
Properties
default
Profile
Transform
Methods
authenticate
fetch
Profile
refresh
start
from
Properties
Static
default
Profile
Transform
defaultProfileTransform
:
ProfileTransform
<
OAuthAuthenticatorResult
<
PassportProfile
>
,
>
= ...
Methods
authenticate
authenticate
(
input
:
OAuthAuthenticatorAuthenticateInput
,
options
?:
Record
<
string
,
string
>
,
)
:
Promise
<
OAuthAuthenticatorResult
<
PassportProfile
>
>
Parameters
input
:
OAuthAuthenticatorAuthenticateInput
Optional
options
:
Record
<
string
,
string
>
Returns
Promise
<
OAuthAuthenticatorResult
<
PassportProfile
>
>
fetch
Profile
fetchProfile
(
accessToken
:
string
)
:
Promise
<
PassportProfile
>
Parameters
accessToken
:
string
Returns
Promise
<
PassportProfile
>
refresh
refresh
(
input
:
OAuthAuthenticatorRefreshInput
,
)
:
Promise
<
OAuthAuthenticatorResult
<
PassportProfile
>
>
Parameters
input
:
OAuthAuthenticatorRefreshInput
Returns
Promise
<
OAuthAuthenticatorResult
<
PassportProfile
>
>
start
start
(
input
:
OAuthAuthenticatorStartInput
,
options
:
Record
<
string
,
string
>
,
)
:
Promise
<
{
status
?:
number
;
url
:
string
}
>
Parameters
input
:
OAuthAuthenticatorStartInput
options
:
Record
<
string
,
string
>
Returns
Promise
<
{
status
?:
number
;
url
:
string
}
>
Static
from
from
(
strategy
:
Strategy
)
:
PassportOAuthAuthenticatorHelper
Parameters
strategy
:
Strategy
Returns
PassportOAuthAuthenticatorHelper
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
default
Profile
Transform
Methods
authenticate
fetch
Profile
refresh
start
from
Docs
Github
Backstage
Loading...