yesod-auth-oauth2-0.3.0: OAuth 2.0 authentication plugins

Safe HaskellNone
LanguageHaskell98

URI.ByteString.Extension

Contents

Documentation

fromText :: Text -> Maybe URI Source #

unsafeFromText :: Text -> URI Source #

toText :: URI -> Text Source #

fromRelative :: Scheme -> Host -> RelativeRef -> URI Source #

withHost :: URIRef a -> Host -> URIRef a Source #

withQuery :: URIRef a -> [(ByteString, ByteString)] -> URIRef a Source #

Orphan instances

IsString Scheme Source # 

Methods

fromString :: String -> Scheme #

IsString Host Source # 

Methods

fromString :: String -> Host #

IsString (URIRef Relative) Source # 

Methods

fromString :: String -> URIRef Relative #

IsString (URIRef Absolute) Source # 

Methods

fromString :: String -> URIRef Absolute #