Class: GraphqlDevise::Types::CredentialType
- Inherits:
-
BaseType
- Object
- GraphQL::Schema::Object
- BaseType
- GraphqlDevise::Types::CredentialType
- Defined in:
- lib/graphql_devise/types/credential_type.rb
Instance Method Summary collapse
Instance Method Details
#access_token ⇒ Object
12 13 14 |
# File 'lib/graphql_devise/types/credential_type.rb', line 12 def access_token object[DeviseTokenAuth.headers_names[:"access-token"]] end |
#client ⇒ Object
24 25 26 |
# File 'lib/graphql_devise/types/credential_type.rb', line 24 def client object[DeviseTokenAuth.headers_names[:client]] end |
#expiry ⇒ Object
28 29 30 |
# File 'lib/graphql_devise/types/credential_type.rb', line 28 def expiry object[DeviseTokenAuth.headers_names[:expiry]] end |
#token_type ⇒ Object
20 21 22 |
# File 'lib/graphql_devise/types/credential_type.rb', line 20 def token_type object[DeviseTokenAuth.headers_names[:"token-type"]] end |
#uid ⇒ Object
16 17 18 |
# File 'lib/graphql_devise/types/credential_type.rb', line 16 def uid object[DeviseTokenAuth.headers_names[:uid]] end |