ServiceProvider class
AAF Rapid Connect service provider.
Represents an AAF Rapid Connect "Service Provider". That is, a Web application that uses AAF Rapid Connect to perform user authentication.
Create an instance of this class to represent the Service Provider.
When the callback HTTP POST request is received by the Web application, extract the "assertion" parameter from it and process the value with the authenticate method.
Constructors
Properties
- allowedClockSkew ↔ Duration
-
Amount of clock skew to allow for.
getter/setter pair
- audience → String
-
The audience expected in the authentication tokens.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- issuer → String
-
The issuer of the authentication tokens.
final
- maxAllowedLifetime ↔ Duration
-
Maximum lifetime of tokens that will be accepted.
getter/setter pair
- name → String?
-
The name of the registered Service Provider.
final
- redirectUrl → String?
-
The URL to redirect to authenticate using AAF Rapid Connect.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → String
-
The shares secret used to sign the authentication tokens.
final
Methods
-
authenticate(
String assertion, {DateTime? currentTime}) → Map< String, String> - Processes the "assertion" POST parameter received by the callback URL.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
reset(
) → void - Causes all AAF Rapid Connect tokens to be forgotten.