Get one strategy (type)
GET/login/strategy/:type
Gets details for the one specified strategy type
Request
Path Parameters
type stringrequired
The strategy type name of the strategy to retrieve
Responses
- 200
- 404
If existing, the strategy specified
- application/json
- Schema
- Example (from schema)
Schema
typeName stringrequired
The unique (type) name of the strategy
canLoginRegister booleanrequired
true
iff instances of this strategy have the theoretical capability of logging in users
canSync booleanrequired
true
iff instances of this strategy have the theoretical capability
of providing api tokens to the a sync service
needsRedirectFlow booleanrequired
true
if to authenticate using this strategy, a redirect of the users browser is required
false
if sending credentials to the token endpoint is enough
allowsImplicitSignup booleanrequired
true
iff this strategy allows instances to use implicit signup
to register users automatically if they don't have an account but tried to login
{
"typeName": "userpass",
"canLoginRegister": true,
"canSync": false,
"needsRedirectFlow": false,
"allowsImplicitSignup": false
}
If no strategy with the specified type name exists
Loading...