public static TokenProvider createSharedAccessSignatureTokenProvider ( String sasKeyName , String sasKey ) { return new SharedAccessSignatureTokenProvider ( sasKeyName , sasKey , SecurityConstants . DEFAULT_SAS_TOKEN_VALIDITY_IN_SECONDS ) ; }
Creates a Shared Access Signature token provider with the given key name and key value . Returned token provider creates tokens with validity of 20 minutes . This is a utility method .