Class ResourceOwnerGrant

    • Constructor Detail

      • ResourceOwnerGrant

        public ResourceOwnerGrant​(String name,
                                  String password)
      • ResourceOwnerGrant

        public ResourceOwnerGrant​(String name,
                                  String password,
                                  String scope)
    • Method Detail

      • toMap

        public javax.ws.rs.core.MultivaluedMap<String,​String> toMap()
        Description copied from interface: AccessTokenGrant
        Returns the map containing public grant parameters; can be used by clients requesting the access tokens.
        Specified by:
        toMap in interface AccessTokenGrant
        Overrides:
        toMap in class AbstractGrant
        Returns:
        the grant parameters