discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

OAuth2MapperConfig class abstract

OAuth2MapperConfig

Properties:

  • allowUserCreation - Whether user should be created if not yet present on the platform after successful authentication
  • activateUser - Whether user credentials should be activated when user is created after successful authentication
  • type - Type of OAuth2 mapper. Depending on this param, different mapper config fields must be specified
  • basic - Mapper config for BASIC and GITHUB mapper types
  • custom - Mapper config for CUSTOM mapper type
Annotations
  • @BuiltValue.new()

Constructors

OAuth2MapperConfig([void updates(OAuth2MapperConfigBuilder b)])
factory

Properties

activateUser → bool?
Whether user credentials should be activated when user is created after successful authentication
no setter
allowUserCreation → bool?
Whether user should be created if not yet present on the platform after successful authentication
no setter
basic → OAuth2BasicMapperConfig?
Mapper config for BASIC and GITHUB mapper types
no setter
custom → OAuth2CustomMapperConfig?
Mapper config for CUSTOM mapper type
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → MapperType
Type of OAuth2 mapper. Depending on this param, different mapper config fields must be specified
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(OAuth2MapperConfigBuilder)) → OAuth2MapperConfig
Rebuilds the instance.
inherited
toBuilder() → OAuth2MapperConfigBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

serializer → Serializer<OAuth2MapperConfig>
no setter