AppAuthnGRPCClient class

Login service for app-users

Annotations
  • @GrpcServiceName.new('Auth.AppAuthnGRPC')

Constructors

AppAuthnGRPCClient(ClientChannel channel, {CallOptions? options, Iterable<ClientInterceptor>? interceptors})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$createCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R>
inherited
$createStreamingCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R>
inherited
$createUnaryCall<Q, R>(ClientMethod<Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
smsLoginExistingUser(AppAuthnProto_SmsLoginRequest request, {CallOptions? options}) → ResponseFuture<Empty>
Login existing user
smsLoginNewUser(AppAuthnProto_SmsLoginRequest request, {CallOptions? options}) → ResponseFuture<Empty>
Login new user (start) registration
smsRefreshToken(AppAuthnProto_SmsRefreshRequest request, {CallOptions? options}) → ResponseFuture<Empty>
Ask for new token, due to timeout / connection issue
smsVerifyToken(AppAuthnProto_SmsVerifyTokenRequest request, {CallOptions? options}) → ResponseFuture<AppAuthnProto>
Verify token for both login types (existing and new user)
toString() String
A string representation of this object.
inherited
verifySecret(AppAuthnProto_VerifySecretRequest request, {CallOptions? options}) → ResponseFuture<AppAuthnProto>
Login with secret generated from keystore

Operators

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

Constants

defaultHost → const String
The hostname for this service.
oauthScopes → const List<String>
OAuth scopes needed for the client.